<template>
  <div id="app">
    <!-- 路由挂载点 -->
    <keep-alive :include="cachePages">
      <router-view />
    </keep-alive>
  </div>
</template>

<script>
import { mapState } from 'vuex'
export default {
  name: 'App',
  computed: {
    ...mapState(['cachePages'])
  }
}
</script>

<style scoped lang="less">
.ceshi {
  width: 375px;
  height: 80px;
  background-color: pink;
}
</style>
